- 
		Home
	
 
	- 
Pronamic Pay
 
- 
9.17.2 (latest)
 
- 
Code
 
- 
Classes
 
-  PaymentLine 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											54 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											542 | 
										
																			
											| Lines of code | 
											192 | 
										
																			
											| Logical lines of code | 
											82 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											259 | 
										
																			
											| Methods | 
											34 | 
										
																			
											| Properties | 
											14 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 34
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| from_json() | 
									A  | 
																	43 | 
													15 | 
													46 | 
							
					
				| get_json() | 
									S  | 
																	50 | 
													4 | 
													27 | 
							
					
				| get_tax_amount() | 
									S  | 
																	62 | 
													3 | 
													13 | 
							
					
				| get_meta() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __toString() | 
									S  | 
																	62 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_id() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_type() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_type() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_sku() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_sku() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_name() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_name() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_description() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_description() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_quantity() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_quantity() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_unit_price() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_unit_price() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_discount_amount() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_discount_amount() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_total_amount() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_total_amount() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_product_url() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_product_url() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_image_url() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_image_url() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_product_category() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_product_category() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_payment() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_payment() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_meta() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| delete_meta() | 
									S  | 
																	80 | 
													1 | 
													3 |